Skip to content

feat(orchestrator): Add pluggable validator extension for custom validation checks#311

Merged
behinddwalls merged 2 commits into
mainfrom
custom_validators
Jul 8, 2026
Merged

feat(orchestrator): Add pluggable validator extension for custom validation checks#311
behinddwalls merged 2 commits into
mainfrom
custom_validators

Conversation

@ubettigole

Copy link
Copy Markdown
Contributor

Why?

Currently, there is not an easy way for integrators to add their own custom validations in the validate step. For example, an integrator may want to check for approvals, call outside services, etc. before allowing the merge to go through.

What?

Added a validator extension that allows integrators to inject company-specific validation logic into the validate controller. The extension follows the existing Factory/Config pattern and includes a Compose utility for combining multiple validators.

Test Plan

Unit tested

…dation checks

Add a validator extension that allows integrators to inject company-specific
validation logic into the validate controller. The extension follows the
existing Factory/Config pattern and includes a Compose utility for combining
multiple validators.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ubettigole ubettigole requested review from a team, behinddwalls and sbalabanov as code owners July 8, 2026 13:45
Comment thread submitqueue/extension/validator/validator.go Outdated
Comment thread submitqueue/extension/validator/validator.go Outdated
Comment thread submitqueue/extension/validator/compose.go Outdated
Comment thread submitqueue/extension/validator/compose.go Outdated
Comment thread service/submitqueue/orchestrator/server/main.go Outdated
@behinddwalls behinddwalls added this pull request to the merge queue Jul 8, 2026
Merged via the queue into main with commit 8709332 Jul 8, 2026
15 checks passed
@behinddwalls behinddwalls deployed to stack-rebase July 8, 2026 20:07 — with GitHub Actions Active
@behinddwalls behinddwalls deleted the custom_validators branch July 8, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants